package com.hy.mydesktop.client.rpc;

import java.util.List;

import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.hy.mydesktop.client.rpcModel.RPCTreeModel;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {


	void getBaseModle(String table, AsyncCallback<List<ModelData>> callback);
	
	void getGroupModle(String table, AsyncCallback<List<ModelData>> callback);
	
	void getPageGrid(String table, PagingLoadConfig loadConfig,
			AsyncCallback<PagingLoadResult<ModelData>> callback);
	
	void getTreeModel(String table, RPCTreeModel loaderConfig,
			AsyncCallback<List<ModelData>> callback);

}
